package com.aloha.boot03;

import com.aloha.boot03.domain.RemoteProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author DaiZhiHeng
 * @date 2023/10/3 14:18
 */
@SpringBootApplication
public class Boot03Application {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Boot03Application.class, args);
        RemoteProxy bean = context.getBean(RemoteProxy.class);
        System.out.println(bean);
    }
}
